<?php
$request = Zend_Controller_Front::getInstance()->getRequest();
$accion = $request->getActionName();
$controlador = $request->getControllerName();
$agregadoUrl = '/accion_origen/' . $accion . '/controlador_origen/' . $controlador;
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>SunBathe</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">


        <!-- Le styles -->
        <link href="<?php echo $this->baseUrl(); ?>/bootstrap/css/bootstrap.css" rel="stylesheet">
        <style>
            body {
                <?php if (isset($this->colorFondo)) { ?>
                    "background-color:<?php echo $this->colorFondo ?>;"
                <?php } ?>
                padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
            }
            legend { <?php echo "color:" . $this->colorFuente . ";"; ?> }
            .thumbnail{
                width: 60px;
                background: #fcfff4; /* Old browsers */
                background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 35%, #b3bead 100%); /* FF3.6+ */
                background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfff4), color-stop(35%,#dfe5d7), color-stop(100%,#b3bead)); /* Chrome,Safari4+ */
                background: -webkit-linear-gradient(top, #fcfff4 0%,#dfe5d7 35%,#b3bead 100%); /* Chrome10+,Safari5.1+ */
                background: -o-linear-gradient(top, #fcfff4 0%,#dfe5d7 35%,#b3bead 100%); /* Opera 11.10+ */
                background: -ms-linear-gradient(top, #fcfff4 0%,#dfe5d7 35%,#b3bead 100%); /* IE10+ */
                background: linear-gradient(to bottom, #fcfff4 0%,#dfe5d7 35%,#b3bead 100%); /* W3C */
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 ); /* IE6-9 */}

        </style>
        <link href="<?php echo $this->baseUrl(); ?>/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">

        <script type="text/javascript" src="<?php echo $this->baseUrl(); ?>/js/jquery-1.8.1.min.js"></script>
        <script src="<?php echo $this->baseUrl(); ?>/bootstrap/js/bootstrap.min.js"></script>
        
        <!-- validate -->
        <script type="text/javascript" src="<?php echo $this->baseUrl("/js/jquery-validate/jquery.validate.min.js"); ?>"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl("/js/jquery-validate/additional-methods.min.js"); ?>"></script>
        <!-- end validate -->
        <!-- colorbox -->
        <link rel="stylesheet" href="<?php echo $this->baseUrl(); ?>/js/colorbox/css/colorbox.css" />

        <script src="<?php echo $this->baseUrl(); ?>/js/colorbox/jquery.colorbox.js"></script>
        <!--       END  colorbox-->

        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <!-- Le fav and touch icons -->
        <link rel="shortcut icon" href="<?php echo $this->baseUrl(); ?>/bootstrap/ico/favicon.ico">
        <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo $this->baseUrl(); ?>/bootstrap/ico/apple-touch-icon-144-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo $this->baseUrl(); ?>/bootstrap/ico/apple-touch-icon-114-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo $this->baseUrl(); ?>/bootstrap/ico/apple-touch-icon-72-precomposed.png">
        <link rel="apple-touch-icon-precomposed" href="<?php echo $this->baseUrl(); ?>/bootstrap/ico/apple-touch-icon-57-precomposed.png">
        <?php echo $this->headScript(); ?>
        <?php echo $this->headLink(); ?>
    </head>

    <body>
        <div class="navbar navbar-fixed-top <?php
        if (isset($this->colorMenu)) {
            echo "navbar-inverse";
        }
        ?>">
            <div class="navbar-inner">
                <div class="container-fluid">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>
                    <a class="brand" href="#">SunBathe</a>
                    <!-- user -->
                    <div class="btn-group pull-right">
                        <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                            <i class="icon-user"></i> <?php echo "Iniciar Session" ?>
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="#">Perfil</a></li>
                            <li><a href="<?php echo $this->baseUrl() . '/usuarios/cliente/cambiartema' . $agregadoUrl; ?>">Cambiar Color</a></li>
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->baseUrl(); ?>/demo/logout/">Salir</a></li>
                        </ul>
                    </div>
                    <!-- end user -->
                    <!-- option menu -->
                    <div class="nav-collapse">
                        <ul class="nav">
                            <li><a href="<?php echo $this->baseUrl(); ?>/admin/">Inicio</a></li>
                        </ul>
                    </div>
                    <!-- end option menu -->
                </div>
            </div>

        </div>

        <div class="container-fluid">
            <?php echo $this->layout()->content ?>
        </div><!--/.fluid-container-->

        <hr>
        <footer style="text-align: right;padding-right: 30px;">
            <p>&copy; SunBathe 2013</p>
        </footer>

    </body>
</html>






